#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui/QDialog>
#include <QtGui/QAction>

#include "graphicbutton.h"
#include "graphicitemsettingdialog.h"
#include "simplemainwindow.h"
#include "global.h"



class MainWindow : public QDialog
{
    Q_OBJECT
public:
    explicit MainWindow(QWidget *parent = 0);

signals:
    void sig_order_to_send(int btn_number);

public slots:

private slots:
    void goto_previous_page();
    void goto_next_page();
    void create_initial_show();
    void gra_btn_clicked_msg(int btn_number);

private:
    void update_current_show();

    GraphicButton *gra_button[NUM_OF_BTN_PER_PAGE];

    CurrentBtnRcd btn_of_current_page; //记录当前页面的按键信息

};

#endif // MAINWINDOW_H
